WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway B

Total Complexity 78
Dependencies 26
Dependents 62
Total lines 617
Lines of code 251
Logical lines of code 174
Comment lines 115
Methods 18
Properties 30

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
C
31 28 96
__construct()
A
43 7 44
define_method_title()
S
57 6 18
define_method_description()
S
60 5 15
get_title()
S
60 5 14
init_form_fields()
S
65 4 7
is_pui_tab()
S
70 3 6
is_paypal_tab()
S
78 3 3
get_description()
S
68 2 7
is_credit_card_tab()
S
77 2 3
is_connection_tab()
S
79 2 3
is_pay_later_tab()
S
79 2 3
process_refund()
S
67 2 7
update_option()
S
65 2 9
admin_options()
S
71 2 6
needs_setup()
S
81 1 3
get_transaction_url()
S
75 1 4
settings_renderer()
S
82 1 3